package com.zhihuitong.meeting.login;

import java.io.Serializable;

/**
 * 作者： guoyuan
 * 时间 2020/2/24.
 * 文件描述：
 * 版本号：V 1.0
 **/
public class HuaWeiAuthInfo implements Serializable {

    private static final long serialVersionUID = -5379652258984597540L;
    /**
     * accessToken : stbf6qu814wUwJXtJkQBXTDKqGzFhq4z5R18
     * tokenIp : 120.228.79.45
     * validPeriod : 69580
     * expireTime : 1582620383
     * createTime : 1582550803185
     * user : {"userId":"66e3f3d826d441e1a27d60890ebdf65b","ucloginAccount":"Zxjg00021","serviceAccount":"sip:+991116034865@huaweicloud.com","numberHA1":"9ef4e1f549085f8b07bde6c8bc5590bd","alias1":null,"companyId":"47998","spId":"ff8080816a696ae9016ada20b2de17a7","companyDomain":null,"realm":"huaweicloud.com","userType":2,"adminType":2,"name":" 吴勇 ","nameEn":null,"isBindPhone":null,"freeUser":false,"thirdAccount":null,"visionAccount":null,"headPictureUrl":null}
     * clientType : 0
     * forceLoginInd : null
     * firstLogin : false
     * pwdExpired : false
     * daysPwdAvailable : -147
     */

    public String accessToken;
    public String tokenIp;
    public int validPeriod;
    public int expireTime;
    public long createTime;
    public UserBean user;
    public int clientType;
    public Object forceLoginInd;
    public boolean firstLogin;
    public boolean pwdExpired;
    public int daysPwdAvailable;

    public static class UserBean {
        /**
         * userId : 66e3f3d826d441e1a27d60890ebdf65b
         * ucloginAccount : Zxjg00021
         * serviceAccount : sip:+991116034865@huaweicloud.com
         * numberHA1 : 9ef4e1f549085f8b07bde6c8bc5590bd
         * alias1 : null
         * companyId : 47998
         * spId : ff8080816a696ae9016ada20b2de17a7
         * companyDomain : null
         * realm : huaweicloud.com
         * userType : 2
         * adminType : 2
         * name :  吴勇 
         * nameEn : null
         * isBindPhone : null
         * freeUser : false
         * thirdAccount : null
         * visionAccount : null
         * headPictureUrl : null
         */

        public String userId;
        public String ucloginAccount;
        public String serviceAccount;
        public String numberHA1;
        public Object alias1;
        public String companyId;
        public String spId;
        public Object companyDomain;
        public String realm;
        public int userType;
        public int adminType;
        public String name;
        public Object nameEn;
        public Object isBindPhone;
        public boolean freeUser;
        public Object thirdAccount;
        public Object visionAccount;
        public Object headPictureUrl;
    }
}
